package com.ai.zhly.util.sms.msg;

/**
 * 
 * @company：AsiaInfo BDX-DS-PSO NFJD/XZ/GD Dept.-GZ
 * @author：xw.jiang on 2015年11月13日
 * @email:jiangxw@asiainfo.com
 * 
 * @description:短信消息实体
 */
public class Msg_Cmpp_Submit extends MsgHead {

	private long msg_Id; // 8位 信息标识，由sp侧网关生成
	private byte pk_total; // 1位 相同msg_id的信息总条数，默认为1
	private byte pk_number; // 1位 相同msg_id的信息序号 1
	private byte registered_Delivery; // 1位 是否要求返回状态确认码 1：是 0： 否
	private byte msg_level; // 1位 信息级别
	private String service_Id; // 10位 业务类型
	private byte fee_UserType; // 1位 计费用户类型
	private String fee_terminal_Id; // 21位 被计费的用户号码
	private byte tP_pId;// 1位 GSM协议类型
	private byte tP_udhi;// 1位 GSM协议类型
	private byte msg_Fmt;// 1位 信息格式 15汉字编码 0:ASCII
	private String msg_src;// 6位 信息来源 [sp_id]
	private String feeType;// 2位资费类别
	private String feeCode;// 6位 资费代码
	private String valId_Time;// 17位 存活有效期
	private String at_Time;// 17位 定时发送时间
	private String src_Id;// 21位 源号码
	private byte destUsr_tl;// 1位 接收信息的用户数量
	private String dest_terminal_Id;// 接收短信的号码
	private byte msg_Length;// 1 信息长度
	private String msg_Content;// 随机 信息内容
	private String reserve; // cmpp2.0保留字段长度为8位

	// 以下为对应的getter/Setter方法
	public long getMsg_Id() {
		return msg_Id;
	}

	public void setMsg_Id(long msg_Id) {
		this.msg_Id = msg_Id;
	}

	public byte getPk_total() {
		return pk_total;
	}

	public void setPk_total(byte pk_total) {
		this.pk_total = pk_total;
	}

	public byte getPk_number() {
		return pk_number;
	}

	public void setPk_number(byte pk_number) {
		this.pk_number = pk_number;
	}

	public byte getRegistered_Delivery() {
		return registered_Delivery;
	}

	public void setRegistered_Delivery(byte registered_Delivery) {
		this.registered_Delivery = registered_Delivery;
	}

	public byte getMsg_level() {
		return msg_level;
	}

	public void setMsg_level(byte msg_level) {
		this.msg_level = msg_level;
	}

	public String getService_Id() {
		return service_Id;
	}

	public void setService_Id(String service_Id) {
		this.service_Id = service_Id;
	}

	public byte getFee_UserType() {
		return fee_UserType;
	}

	public void setFee_UserType(byte fee_UserType) {
		this.fee_UserType = fee_UserType;
	}

	public String getFee_terminal_Id() {
		return fee_terminal_Id;
	}

	public void setFee_terminal_Id(String fee_terminal_Id) {
		this.fee_terminal_Id = fee_terminal_Id;
	}

	public byte getMsg_Fmt() {
		return msg_Fmt;
	}

	public void setMsg_Fmt(byte msg_Fmt) {
		this.msg_Fmt = msg_Fmt;
	}

	public String getMsg_src() {
		return msg_src;
	}

	public void setMsg_src(String msg_src) {
		this.msg_src = msg_src;
	}

	public String getFeeType() {
		return feeType;
	}

	public void setFeeType(String feeType) {
		this.feeType = feeType;
	}

	public String getFeeCode() {
		return feeCode;
	}

	public void setFeeCode(String feeCode) {
		this.feeCode = feeCode;
	}

	public String getValId_Time() {
		return valId_Time;
	}

	public void setValId_Time(String valId_Time) {
		this.valId_Time = valId_Time;
	}

	public String getAt_Time() {
		return at_Time;
	}

	public void setAt_Time(String at_Time) {
		this.at_Time = at_Time;
	}

	public String getSrc_Id() {
		return src_Id;
	}

	public void setSrc_Id(String src_Id) {
		this.src_Id = src_Id;
	}

	public byte getDestUsr_tl() {
		return destUsr_tl;
	}

	public void setDestUsr_tl(byte destUsr_tl) {
		this.destUsr_tl = destUsr_tl;
	}

	public String getDest_terminal_Id() {
		return dest_terminal_Id;
	}

	public void setDest_terminal_Id(String dest_terminal_Id) {
		this.dest_terminal_Id = dest_terminal_Id;
	}

	public byte getMsg_Length() {
		return msg_Length;
	}

	public void setMsg_Length(byte msg_Length) {
		this.msg_Length = msg_Length;
	}

	public String getMsg_Content() {
		return msg_Content;
	}

	public void setMsg_Content(String msg_Content) {
		this.msg_Content = msg_Content;
	}

	@Override
	public String toString() {
		return "Msg_Cmpp_Submit [at_Time=" + at_Time + ", destUsr_tl="
				+ destUsr_tl + ", dest_terminal_Id=" + dest_terminal_Id
				+ ", feeCode=" + feeCode + ", feeType=" + feeType
				+ ", fee_UserType=" + fee_UserType + ", fee_terminal_Id="
				+ fee_terminal_Id + ", msg_Content=" + msg_Content
				+ ", msg_Fmt=" + msg_Fmt + ", msg_Id=" + msg_Id
				+ ", msg_Length=" + msg_Length + ", msg_level=" + msg_level
				+ ", msg_src=" + msg_src + ", pk_number=" + pk_number
				+ ", pk_total=" + pk_total + ", registered_Delivery="
				+ registered_Delivery + ", service_Id=" + service_Id
				+ ", src_Id=" + src_Id + ", tP_pId=" + tP_pId + ", tP_udhi="
				+ tP_udhi + ", valId_Time=" + valId_Time + "]";
	}

	public byte gettP_pId() {
		return tP_pId;
	}

	public void settP_pId(byte tP_pId) {
		this.tP_pId = tP_pId;
	}

	public byte gettP_udhi() {
		return tP_udhi;
	}

	public void settP_udhi(byte tP_udhi) {
		this.tP_udhi = tP_udhi;
	}

	public String getReserve() {
		return reserve;
	}

	public void setReserve(String reserve) {
		this.reserve = reserve;
	}

}
